package com.dlry.serviceImpl;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;

import com.dlry.entity.DlNotification;

public interface NotificationService {
	@Cacheable("main")
	Page<DlNotification> findAllPage(Integer from, Integer row);

	void save(DlNotification notification);

	void update(DlNotification notification);

	DlNotification findOne(Long nId);
	
	void delete(Long nId);
	
	Long count();
	

}
